#ifndef __DEPLOYMENT_H_
#define __DEPLOYMENT_H_ 
#include <po_hi_protected.h>
/*  For each node in the distributed application add an enumerator*/

typedef enum
{
   node_a_k = 0
} __po_hi_node_t;

/*  For each thread in the distributed application nodes, add an enumerator*/

typedef enum
{
   node_a_pinger_k_entity = 0,
   node_a_ping_me_k_entity = 1
} __po_hi_entity_t;

typedef enum
{
   node_a_pinger_k = 0,
   node_a_ping_me_k = 1
} __po_hi_task_id;

#define __PO_HI_NB_TASKS 2

/*  For each thread in the distributed application nodes THAT MAY COMMUNICATE*/
/*   with the current node, add an enumerator*/

typedef enum
{
   node_a_pinger_k_server = 0,
   invalid_server = -1
} __po_hi_entity_server_t;

typedef enum
{
        node_a_pinger_data_source_k = 0,
        node_a_ping_me_data_sink_k =1 
}__po_hi_port_type_t;

#define __PO_HI_NB_PORTS 2

#define __PO_HI_NB_SERVERS 1

#define __PO_HI_NB_PROTECTED 0

#define __PO_HI_NB_NODES 1

#define __PO_HI_NB_ENTITIES 2

#define __PO_HI_PINGER_NB_PORTS 1
#define __PO_HI_PINGME_NB_PORTS 1

typedef enum
{
  pinger_data_source = 0
}__po_hi_pinger_port_type_t;

typedef enum
{
  pingme_data_sink = 0
}__po_hi_pingme_port_type_t;

typedef enum
{
  data_source = 0,
  data_sink = 1
}__po_hi_port_t;

#endif
